package com.bestow.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 区对象 fnd_district
 * 
 * @author liliu
 * @date 2022-09-06
 */
public class FndDistrict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 省代码 */
    private String province;

    /** 市代码 */
    private String city;

    /** 区代码 */
    @Excel(name = "区代码")
    private String district;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String enabledFlag;

    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setEnabledFlag(String enabledFlag) 
    {
        this.enabledFlag = enabledFlag;
    }

    public String getEnabledFlag() 
    {
        return enabledFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("description", getDescription())
            .append("enabledFlag", getEnabledFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
